home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19960209-19960425 / 000159_news@columbia.edu _Wed Mar 6 05:19:21 1996.msg < prev    next >
Internet Message Format  |  1996-05-13  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id FAA24552 for <kermit.misc@watsun>; Wed, 6 Mar 1996 05:19:20 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id FAA19796 for kermit.misc@watsun; Wed, 6 Mar 1996 05:19:18 -0500 (EST)
  4. Path: news.columbia.edu!panix!cmcl2!newsjunkie.ans.net!newsfeeds.ans.net!howland.reston.ans.net!swrinde!tank.news.pipex.net!pipex!oleane!calvacom!newsmaster
  5. From: do11@calvacom.fr (Dominique Ottello)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Auto Delete Files after sending in kermit
  8. Date: Tue, 05 Mar 1996 18:28:11 GMT
  9. Organization: CalvaCom Networks
  10. Lines: 40
  11. Message-ID: <313c8074.7180125@news.calvacom.fr>
  12. References: <826038248.2742@skiving.demon.co.uk>
  13. Reply-To: do11@calvacom.fr
  14. NNTP-Posting-Host: par02.calvacom.fr
  15. X-Newsreader: Forte Agent .99d/16.182
  16.  
  17. Dave Cook <SKIVING.demon.co.uk> wrote:
  18.  
  19. >Probably an easy answer to this one but I cant find it, how do I get
  20. >Kermit to remove files as it sends them. If modem drops the connection 
  21. >when executing 'send *.snd' I dont know how many where sent, if any, and 
  22. >how many I need to resend. Unfortunately I have to turn the display off so 
  23. >cant watch the fancy screen of bytes transferred.
  24.  
  25. I apologize for my wrong English, but I'll try to explain how I do
  26. this kind of work.
  27.  
  28. I do the job you want between a PC with MS DOS Kermit 3.14 and a VME
  29. system running Versados (OS by Motorola that have command almost like
  30. DOS)
  31. I send files into a known directory in my host : 100.KERMIT
  32. after that I clear the Host Kermit server by the appropriates command,
  33. then I output a command to the host that make a DIR of the directory
  34. into a known file :
  35. output  {DIR 100.KERMIT.*.*,100.KERMIT.DIRTXT.SA}
  36. Then I put the host into Kermit Server and I get the DIRTXT.SA file on
  37. the PC.
  38. The I open and read the file and compare the filenames I want to send
  39. and the filenames really received by the host.
  40.  
  41. It is a little bit more complicated because I use DOS command to
  42. create a file with the name of files I want to send :
  43. DIR *.SND /B > WILLSEND.TXT
  44. then open the file WILLSEND.TXT, read two or three times to eliminate
  45. lines not needed the effectively read the filename to send into a
  46. variable (\%r) then send \%r with a loop until EOF.
  47. Into the loop, I create dynamic macro using  _assign File\%n Yes (or
  48. No) as the send command is fail or success with \%n equal to the
  49. number of the file to be sended.
  50.  
  51. I hope that my explainations are not confusing.
  52.  
  53.  
  54.             ======================================================
  55.             == Dominique == do11@calvacom.fr == Paris == France ==
  56.             ======================================================